package ModelImplementation

import "PaySalary/Model"

type MailMethod struct {
	itsAddress string
}

func mailMethod(address string) MailMethod {
	return MailMethod{itsAddress: address}
}

func (mm* MailMethod) GetAddress() string {
	return mm.itsAddress
}

func Pay(pc Model.Paycheck) {
	pc.SetField("Disposition","Mail")
}
